<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>学生信息</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="../js/layui-v2.4.5/css/layui.css" media="all">

</head>
<body>
<div class="layui-tab-content">
    <div class="layui-tab-item layui-show">
        <button class="layui-btn layui-btn-add" data-type="student_add">添加</button>
        <button type="button" class="layui-btn" id="importFile" ><i class="layui-icon"></i>导入</button>
        <table class="layui-hide" id="student_table_id" lay-filter="student_table_filter"></table>
    </div>
</div>

<div id="student_div_form" style="display:none;">
    <form class="layui-form" action="" style="margin-top: 20px;" id="student_form">
        <input class="layui-hide" name="id" >
        <div class="layui-form-item" style="width: 613px;">
            <label class="layui-form-label">姓名</label>
            <div class="layui-input-block">
                <input type="text" name="name" id="name" lay-verify="eqno" autocomplete="off" placeholder="请输入姓名" class="layui-input" >
            </div>
        </div>
        <div class="layui-form-item" style="width: 613px;">
            <label class="layui-form-label">学籍号</label>
            <div class="layui-input-block">
                <input type="text" name="remark" lay-verify="remark" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item" style="width: 613px;">
            <label class="layui-form-label">标签号</label>
            <div class="layui-input-block">
                <input type="text" name="lno" lay-verify="lno" autocomplete="off" placeholder="请输入标签号" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item" style="width: 613px;">
            <label class="layui-form-label">年龄</label>
            <div class="layui-input-block">
                <input type="text" name="age" lay-verify="age" autocomplete="off" placeholder="请输入年龄" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item" style="width: 613px;">
            <label class="layui-form-label">性别</label>
            <div class="layui-input-inline">
                <select name="sex" lay-verify="sex">
                    <option value="">请选择性别</option>
                    <option value="男">男</option>
                    <option value="女">女</option>
                </select>
            </div>
        </div>
    </form>
</div>

<script type="text/html" id="bar">
    <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
</script>

<script src="../js/layui-v2.4.5/layui.js" charset="utf-8"></script>
<script src="../js/studentinfo.js" charset="utf-8"></script>

</body>
</html>